/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoexam.service;

import java.util.List;

import org.apache.commons.lang3.StringEscapeUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.campusinfoexam.entity.CampusinfoTrainName;
import com.lczyfz.campusinfo.modules.campusinfoexam.dao.CampusinfoTrainNameDao;

/**
 * 证照培训名称Service
 * @author zms
 * @version 2018-04-15
 */
@Service
@Transactional(readOnly = true)
public class CampusinfoTrainNameService extends CrudService<CampusinfoTrainNameDao, CampusinfoTrainName> {

	public CampusinfoTrainName get(String id) {
		return super.get(id);
	}
	
	public List<CampusinfoTrainName> findList(CampusinfoTrainName campusinfoTrainName) {
		return super.findList(campusinfoTrainName);
	}
	
	public Page<CampusinfoTrainName> findPage(Page<CampusinfoTrainName> page, CampusinfoTrainName campusinfoTrainName) {
		return super.findPage(page, campusinfoTrainName);
	}
	
	@Transactional(readOnly = false)
	public void save(CampusinfoTrainName campusinfoTrainName) {
		super.save(campusinfoTrainName);
	}
	
	@Transactional(readOnly = false)
	public void delete(CampusinfoTrainName campusinfoTrainName) {
		super.delete(campusinfoTrainName);
	}
	
}